package com.lsp.microuser.point.service.impl;

import com.lsp.microcommon.entity.PointRule;
import com.lsp.microuser.point.dao.PointRuleDao;
import com.lsp.microuser.point.service.PointRuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class PointRuleServiceImpl implements PointRuleService {

    @Resource
    private PointRuleDao pointRuleDao;

    @Override
    public List<PointRule> selectPointRuleList(Integer type) {
        return pointRuleDao.selectListByType(type);
    }
}
